package com.zy.bean;

import java.util.List;

/**
 * Created by ninos on 2016/10/13.
 */

public class Charge {

    public String id;
    public String object;
    public int created;
    public boolean livemode;
    public boolean paid;
    public boolean refunded;
    public String app;
    public String channel;
    public String order_no;
    public String client_ip;
    public int amount;
    public int amount_settle;
    public String currency;
    public String subject;
    public String body;
    public ExtraBean extra;
    public Object time_paid;
    public int time_expire;
    public Object time_settle;
    public Object transaction_no;
    public RefundsBean refunds;
    public int amount_refunded;
    public Object failure_code;
    public Object failure_msg;
    public MetadataBean metadata;
    public CredentialBean credential;
    public Object description;

    public static class ExtraBean {
    }

    public static class RefundsBean {
        public String object;
        public String url;
        public boolean has_more;
        public List<?> data;
    }

    public static class MetadataBean {
    }

    public static class CredentialBean {
        public String object;
        public AlipayBean alipay;

        public static class AlipayBean {
            public String orderInfo;
        }
    }
}
